<?php ob_start() ?>
<div class="jumbotron">
    <div class="container">
        <div class="text-center" style="margin-bottom: 20px;">
            <h1><i class="fa fa-trophy"></i> <?php echo LABEL_COMPETICIONES ?></h1>
        </div>
        <?php foreach ($params as $param) { ?>
            <div class="row panel panel-body animated fadeInDown">
                <div class="col-lg-12 well text-center">
                    <div class="col-lg-4">
                        <a href="tablon/<?php echo $param['id'] ?>"><img style="margin: auto;" class="img-rounded text-center img-responsive" src="web/images/competiciones/<?php echo $param['imagen'] ?>"></a>
                    </div>
                    <div class="col-lg-4 ">
                        <a href="tablon/<?php echo $param['id'] ?>"><p><?php echo $param['nombre'] ?></p></a>
                        <p class="" style="color:dimgrey"><?php echo $param['pais'] ?></p>
                    </div>
                    <div class="col-lg-4 well">
                        <p class=""><img src="web/images/ficha-min.png" height="25" class="fa-spin" style="vertical-align: text-bottom;"/> Bote: <?php echo ($param['bote_competicion']>0) ? $param['bote_competicion'] : $param['bote_acumulado']; ?> <small>bp</small></p>
                    </div>
                </div>
                <div class="col-lg-12 text-center">
                    <div class="col-lg-12">
                        <div class="btn-group">
                            <a class="btn btn-lg btn-primary" href="tablon/<?php echo $param['id'] ?>"><?php echo LABEL_APOSTAR ?></a>
                        </div>
                    </div><!-- /.col-lg-6 -->
                </div><!-- /.col-lg-12 -->
            </div><!-- /.row -->
        <?php } ?>
    </div><!-- /.container -->
</div><!-- /.jumbotron -->



<?php
$contenido = ob_get_clean();
include 'app/templates/plantilla_privada.php';
?>

